
package br.iars.service.v01.recommendationservice.type;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for EstimatePreferenceRequest complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="EstimatePreferenceRequest">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="context" type="{http://service.iars.br/v01/RecommendationService/Types}Context"/>
 *         &lt;element name="userEmail" type="{http://service.iars.br/v01/RecommendationService/Types}userEmail"/>
 *         &lt;element name="itemId" type="{http://service.iars.br/v01/RecommendationService/Types}itemId"/>
 *         &lt;element name="onlyOwnContext" type="{http://service.iars.br/v01/RecommendationService/Types}onlyOwnContext"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EstimatePreferenceRequest", propOrder = {
    "context",
    "userEmail",
    "itemId",
    "onlyOwnContext"
})
public class EstimatePreferenceRequest {

    @XmlElement(required = true)
    protected Context context;
    @XmlElement(required = true)
    protected String userEmail;
    protected long itemId;
    protected boolean onlyOwnContext;

    /**
     * Gets the value of the context property.
     * 
     * @return
     *     possible object is
     *     {@link Context }
     *     
     */
    public Context getContext() {
        return context;
    }

    /**
     * Sets the value of the context property.
     * 
     * @param value
     *     allowed object is
     *     {@link Context }
     *     
     */
    public void setContext(Context value) {
        this.context = value;
    }

    /**
     * Gets the value of the userEmail property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUserEmail() {
        return userEmail;
    }

    /**
     * Sets the value of the userEmail property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUserEmail(String value) {
        this.userEmail = value;
    }

    /**
     * Gets the value of the itemId property.
     * 
     */
    public long getItemId() {
        return itemId;
    }

    /**
     * Sets the value of the itemId property.
     * 
     */
    public void setItemId(long value) {
        this.itemId = value;
    }

    /**
     * Gets the value of the onlyOwnContext property.
     * 
     */
    public boolean isOnlyOwnContext() {
        return onlyOwnContext;
    }

    /**
     * Sets the value of the onlyOwnContext property.
     * 
     */
    public void setOnlyOwnContext(boolean value) {
        this.onlyOwnContext = value;
    }

}
